package com.hk.common.shiro.token;

import org.apache.shiro.authc.AuthenticationToken;

/**
 * @author wj
 * @create 2019-10-30 15:19
 * @desc
 **/
public class JwtToken implements AuthenticationToken {

    /**
     * token
     */
	private String token;

    public JwtToken(String token) {
        this.token = token;
    }

    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }
}
